<div id="big_calendar">

<%=
calendar({:year => Time.now.year, :month => Time.now.month, :abbrev => 0 }) do |d|
  cell_text = "#{d.mday}<br />"
  cell_attrs = {:class => 'day'}
  @events.each do |e|
    if e.date == d
      cell_text << "#{link_to(e.title, :action => 'show', :title => e.title)}" << "<br />"
#      cell_text = "#{link_to(d.mday, :action => 'date', :date => e.date)}"
      cell_attrs[:class] = 'specialDay'
    end
  end
  [cell_text, cell_attrs]
end
%>

</div>
